package com.peas.platform.module.icims.budget.apply.controller.vo;

import java.math.*;
import com.peas.platform.common.core.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Size;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("二上预算编制明细")
public class BudgetTwoItemVo extends BaseVo {

    //（二上预算编制表）外键
    @ApiModelProperty(value = "二上预算表ID")
    private Long budgetTwoId;

    @ApiModelProperty(value = "年度")
    @Size(max = 4, message = "年度不能超过4个字符")
    private String year;

    //下拉框选择
    @ApiModelProperty(value = "明细项目类别")
    private Long itemType;

    //下拉框选择
    @ApiModelProperty(value = "开支范围")
    private Long itemRange;

    @ApiModelProperty(value = "开支内容")
    @Size(max = 100, message = "开支内容不能超过100个字符")
    private String itemName;

    @ApiModelProperty(value = "明细功能分类")
    @Size(max = 20, message = "明细功能分类不能超过20个字符")
    private String itemFunctionType;

    @ApiModelProperty(value = "明细经济分类")
    @Size(max = 20, message = "明细经济分类不能超过20个字符")
    private String itemEconomyType;

    @ApiModelProperty(value = "计量单位")
    @Size(max = 20, message = "计量单位不能超过20个字符")
    private String unit;

    @ApiModelProperty(value = "单价/支出标准")
    private BigDecimal price;

    @ApiModelProperty(value = "工作量")
    private BigDecimal num;

    @ApiModelProperty(value = "测算依据及说明")
    @Size(max = 200, message = "测算依据及说明不能超过200个字符")
    private String reason;

    @ApiModelProperty(value = "备注")
    private String remark;

}
